﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YunLian.Cache
{
    public interface ICacheItem
    {
        DateTime Created { get; }
        ExpirationMode ExpirationMode { get; }
        TimeSpan ExpirationTimeout { get; }
        string Key { get; }
        DateTime LastAccessed { get; set; }
        string Region { get;  }
        bool UseExpirationDefault { get; }

    }
}
